package com.freemalll.merchant.domain.entity.common;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.freemalll.merchant.common.AbstractBaseEntity;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.io.Serializable;

/**
 * <p>
 * 系统配置表
 * </p>
 *
 * @author songshixiong
 * @since 2025-06-20
 */
@Data
@EqualsAndHashCode(callSuper = false)
@TableName("sys_config")
@Schema(description = "系统配置表")
public class SysConfig extends AbstractBaseEntity implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "co_id", type = IdType.ASSIGN_UUID)
    private String coId;

    @Schema(description = "配置key")
    @TableField("co_key")
    private String coKey;

    @Schema(description = "配置值")
    @TableField("co_value")
    private String coValue;

    @Schema(description = "描述")
    @TableField("co_desc")
    private String coDesc;

    @Schema(description = "是否启用")
    @TableField("co_enable")
    private Boolean coEnable;


}
